package com.kzj.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kzj.dao.CourseInformationDao;
import com.kzj.dao.ScoreDao;
import com.kzj.domain.CourseInformation;
import com.kzj.domain.Score;
import com.kzj.global.re.Result;
import com.kzj.service.CourseInformationService;
import com.kzj.service.ScoreService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CourseInformationServiceImpl extends ServiceImpl<CourseInformationDao, CourseInformation> implements CourseInformationService {
    @Override
    public Result getAllCourseInformation() {
        List<CourseInformation> list = this.list();
        return Result.success(list);
    }
}
